import request from '@/utils/request'
export default{
    getList(page, limit){
        return request.get(`/admin/product/baseTrademark/${page}/${limit}`)
      },
    //上传图片的请求
    getFileUpload(){
      return request.get('/admin/product/fileUpload')
    }
    ,
    getAddTrademark(form){
      return request.post(`/admin/product/baseTrademark/save`,form)
    }
    ,
    //修改的请求
    getUpdateTrademark(form){
      return request.put( '/admin/product/baseTrademark/update',form)
    }
    ,
    //删除的请求
    getDeleteTrademark(id){
      return request.delete(`/admin/product/baseTrademark/remove/${id}`)
    }
}